package com.gtw.modules.api.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.gtw.modules.entity.TbCommodity;
import com.gtw.modules.entity.TbDiscuss;

import java.util.Map;

public interface TbDiscussService {

    int deleteByPrimaryKey(Integer id);

    int insert(TbDiscuss record);

    int insertSelective(TbDiscuss record);

    TbDiscuss selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TbDiscuss record);

    int updateByPrimaryKey(TbDiscuss record);

    Page<TbDiscuss> queryPageList(Page<TbDiscuss> pageUtil, Map<String, Object> map);
}
